package com.thomas.framework.utils.mybatis;

import com.thomas.framework.utils.JsonUtil;
import org.springframework.cglib.proxy.Enhancer;

/**
 * Created by taohj on 2014/5/27.
 */
public class JsonResult {


    //返回
    private boolean success;


    private boolean closeCurrentTabls;

    private String message="Operation is successful !";


    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public boolean isCloseCurrentTabls() {
        return closeCurrentTabls;
    }

    public void setCloseCurrentTabls(boolean closeCurrentTabls) {
        this.closeCurrentTabls = closeCurrentTabls;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public  String toString(){
        return JsonUtil.toString(this);
    }

}
